<?php
class ProductCategory extends Model {
	public function addPC($data) {
		return $this->dbo->insertTableRow('product_category',$data);
	}
	public function delPCByPid($product_id){
		return $this->dbo->query("DELETE FROM product_category WHERE product_id ='".(int)$product_id."'");
	}
}
?>